<php>
$province_id = isset($info['province_id']) ? $info['province_id'] : $province_id;
$city_id     = isset($info['city_id']) ? $info['city_id'] : $city_id;
$area_id     = isset($info['area_id']) ? $info['area_id'] : $area_id;
$city_list   = $province_id ? $city_list : '';
$area_list   = $province_id ? $area_list : '';
</php>
<eq name="is_wrap_name" value="1">
<div class="mod_data">
	<div class="name">{$show_name}</div>
	<div class="input_data">
<else/>
	{$show_name}
</eq>
		<eq name="is_disabled" value="1">
			{:D('Area')->id2names($province_id)}
			{:D('Area')->id2names($city_id)}
			{:D('Area')->id2names($area_id)}
		<else/>
			<eq name="is_show_province" value="1">
			<select name="province_id" class="ajax-province-change" url="{:URL('Area/get_area_list')}" <eq name="is_required" value="1">datatype="*"</eq>>
				<option value="">-省份-</option>
				<volist name="province_list" id="rs">
					<option value="{$rs['id']}" <eq name="rs.id" value="$province_id">selected</eq> >{$rs['name']}</option>
				</volist>
			</select>
			</eq>
			
			<eq name="is_show_city" value="1">
			<select name="city_id" class="ajax-city-change" url="{:URL('Area/get_area_list')}" <eq name="is_required" value="1">datatype="*"</eq> <empty name="city_list">style="display:none"</empty>>
				<option value="">-城市-</option>
				<volist name="city_list" id="rs">
					<option value="{$rs['id']}" <eq name="rs.id" value="$city_id">selected</eq> >{$rs['name']}</option>
				</volist>
			</select>
			</eq>
			
			<eq name="is_show_area" value="1">
			<select name="area_id" class="ajax-area-change" url="{:URL('Area/get_area_list')}" <eq name="is_required" value="1">datatype="*"</eq> <empty name="area_list">style="display:none"</empty>>
				<option value="">-地区-</option>
				<volist name="area_list" id="rs">
					<option value="{$rs['id']}" <eq name="rs.id" value="$area_id">selected</eq> >{$rs['name']}</option>
				</volist>
			</select>
			</eq>
		</eq>
<eq name="is_wrap_name" value="1">
	</div>
</div>
</eq>